package com.ssy.lingxi.order.api.model.vo.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 会员服务 - 订单评价完成后，通知订单服务修改订单评论状态
 * @author 万宁
 * @version 2.0.0
 * @date 2021-09-16
 */
public class OrderCommentFeignVO implements Serializable {
    private static final long serialVersionUID = -631423683877892000L;

    /**
     * 订单Id
     */
    @NotNull(message = "订单Id要大于0")
    @Positive(message = "订单Id要大于0")
    private Long orderId;

    /**
     * 采购商是否完成订单评论，只有True值会修改订单状态
     */
    private Boolean buyerCommentComplete;

    /**
     * 供应商是否完成订单评论，只有True值会修改订单状态
     */
    private Boolean vendorCommentComplete;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Boolean getBuyerCommentComplete() {
        return buyerCommentComplete;
    }

    public void setBuyerCommentComplete(Boolean buyerCommentComplete) {
        this.buyerCommentComplete = buyerCommentComplete;
    }

    public Boolean getVendorCommentComplete() {
        return vendorCommentComplete;
    }

    public void setVendorCommentComplete(Boolean vendorCommentComplete) {
        this.vendorCommentComplete = vendorCommentComplete;
    }
}
